Developer Documentation

QuickTime 4 API Documentation

QuickTime 4 Reference

| Previous | Chapter Contents | Chapter Top | Next |

The Paths Structure

The gxPaths structure allows you to group multiple path contours together. You use this data structure when specifying the geometry of a path shape. For information about paths, see "Path Shapes" .

The gxPaths structure is defined as follows:

struct gxPaths {
    long            contours;
    struct gxPath   contour[gxAnyNumber];
};

Field descriptions

contours
The number of path contours.

contour
The path contours.

The array index gxAnyNumber indicates that the gxPaths data structure is also a variable-length structure--it can include any number of path contours.

Note
In QuickTime 3, a single path contour can have between 0 and 32,767 geometric points. The geometry of a path shape can between 0 and 32,767 polygon contours. The total size of a path geometry may not exceed 2,147,483,647 bytes.

For more information about paths, see "Path Shapes" and "Creating and Drawing Paths" .


© 1999 Apple Computer, Inc.

| Previous | Chapter Contents | Chapter Top | Next |